<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
  <head>
    <title>Dish page</title>
    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
  </head>
  
  <body>
  
<form id="pagerForm" method="post" action="menu/dish.action">
	<input type="hidden" name="pageNum" value="1" />
</form>

<div class="pageHeader">
	<form action="demo_page1.html" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					我的客户：<input type="text" name="keyword" />
				</td>
				<td>
					<select class="combox" name="province">
						<option value="">所有省市</option>
						<option value="北京">北京</option>
						<option value="上海">上海</option>
						<option value="天津">天津</option>
						<option value="重庆">重庆</option>
						<option value="广东">广东</option>
					</select>
				</td>
				<td>
					建档日期：<input type="text" class="date" readonly="true" /><s:debug />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="dwz/dish!input.action" target="navTab"><span>添加</span></a></li>
			<li><a class="delete" href="dwz/dish!delete.action?id={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="dwz/dish!input.action?id={sid_user}" target="navTab"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
			<li></li>
		</ul>
	</div>
	
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="50"></th>
				<th width="50">编号</th>
				<th width="120">名称</th>
				<th width="120">描述</th>
				<th width="120">菜单种类</th>
				<th width="80" align="center">序号</th>
				<th width="80" align="center">好处</th>
				<th width="80" align="center">坏处</th>
				<th width="80" align="center">图片</th>
				<th width="80" align="center">大图</th>
				<th width="80" align="center">状态</th>
				<th width="80">推荐</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${page.result}" var="item">
				<tr target="sid_user" rel="${item.id }">
					<td>${item.id }</td>
					<td>${item.code }</td>
					<td>${item.name }</td>
					<td>${item.description }</td>
					<td>${item.vegetableType.name }</td>
					<td>${item.serial }</td>
					<td>${item.benefit }</td>
					<td>${item.prohibition }</td>
					<td>${item.iconLocation }</td>
					<td>${item.zoomLocation }</td>
					<td>${item.enable }</td>
					<td>${item.recommend }</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共${page.totalItems }条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="${page.totalItems }" numPerPage="${page.pageSize }" pageNumShown="10" currentPage="${page.pageNo }"></div>
  

	</div>
</div>

  </body>
</html>
